$(function(){
    var str;
    $.each(allData.index,function(i,v){
        $.each(v.huodongzhuanqu,function(i,v){
            str = `
            <li class="item${i+1}">
            <a href="javascript:void(0)">
              <span class="line n-line"></span>
              <p class="name">${v.huoTitle}</p>
              <span class="line w-line"></span>
              <p class="desc">${v.huoDesc}</p>
              <img src="${v.huoImg}" alt="">
            </a>
          </li>
            `;
            $('#huodongzhuanqu ul').append(str);
        })
    })

})